package com.centaline.crawler.mapper;

import com.centaline.crawler.excel.ComareaExcel;
import com.centaline.crawler.json.Comarea;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: wbzhangzp
 * @date: 2021-05-27 14:22
 */
@Mapper
@Repository
public interface ComareaMapper {

    // 保存版块
    void saveArea(Comarea comarea);


    List<Comarea> findByXAndY(Double x, Double y);

    List<ComareaExcel> findAll();
}
